quartz: fix build on 10.6 and below
authorMarcus Karlsson <mk@acc.umu.se>
Sun, 26 Oct 2014 11:26:48 +0000 (12:26 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Oct 2014 10:46:12 +0000 (06:46 -0400)
commita703437796fefb44d4058cd36d6ba13abaab4725
tree530ff434b3e1402886ae27bc787b9433bb983183
parent506d59f52666bd0f43ff950e46dd0b196e07f729
quartz: fix build on 10.6 and below

It is not possible to successfully build GTK+ on OS X 10.6 and below
since NSFullScreenWindowMask is only available starting with 10.7. Add
ifdef guards around setStyleMask: in order to allow it to build on
earlier OS X releases.

https://bugzilla.gnome.org/show_bug.cgi?id=737561
gdk/quartz/GdkQuartzNSWindow.c
gdk/quartz/GdkQuartzNSWindow.h